github.com/0chain/gosdk@v1.17.11/docs/uml/get allocation.puml (about)

     1  @startuml
     2  participant "<size:20><&terminal></size> ./zbox get" as cli
     3  collections gosdk
     4  
     5  cli -> gosdk: GetAllocation(allocationID)
     6  
     7  gosdk -> gosdk: check initialized sdk
     8  gosdk -> gosdk: make SC rest api call
     9  gosdk -> gosdk: create new allocation
    10  gosdk -> gosdk: return response result for allocation
    11  gosdk -> gosdk: init allocation
    12  gosdk --> cli: return allocation
    13  @enduml